package com.clouds.wms.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.clouds.wms.bean.Cmsme;
import com.clouds.wms.dao.CmsmeDao;
import com.clouds.wms.exception.DatabaseException;

@Service("cmsmeService")
public class CmsmeServiceImpl implements CmsmeService {

	@Resource(name="cmsmeDao")
	private CmsmeDao cmsmeDao;

	@Override
	public List<Cmsme> getAllCmsmeList() throws DatabaseException {
		return cmsmeDao.getAllCmsmeList();
	}

	@Override
	public List<Cmsme> getCmsmeListByMbaa(String mbaa) throws DatabaseException {
		return cmsmeDao.getCmsmeListByMbaa(mbaa);
	}

}
